macos: short-circuit on NSEventPhaseMayBegin
authorChristian Hergert <christian@hergert.me>
Mon, 28 Feb 2022 08:42:47 +0000 (00:42 -0800)
committerChristian Hergert <chergert@redhat.com>
Wed, 16 Mar 2022 19:24:11 +0000 (12:24 -0700)
commitb19526489e385ba45756c4aefc3314d19c196d67
treea4c1a48c50518cf38832e0a975bfaaea936f8d94
parent856728ea1074457a426c3cc9224800551849360e
macos: short-circuit on NSEventPhaseMayBegin

We only need to send a single event in this case, so just short-circuit
instead of trying to return an additional event.
gdk/macos/gdkmacosdisplay-translate.c